package com.woniu.bh.backstage.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.bh.backstage.dto.AdDto;
import com.woniu.bh.backstage.dto.ManagerDto;
import com.woniu.bh.backstage.param.AdRejectParam;
import com.woniu.bh.backstage.param.QueryAdParam;
import com.woniu.bh.common.core.domain.advertisement.Advertisement;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cxb
 * @since 2020-10-12
 */
public interface IAdvertisementService extends IService<Advertisement> {
    /*
    分页查询所有广告
     */
    public IPage<AdDto> selectPage(QueryAdParam queryAdParam);
    /*
    审核通过
     */
    public void auditPass(Integer id);
    /*
    审核拒绝
     */
    public void auditReject(AdRejectParam adRejectParam);
    /*
    查看正在上架广告列表
     */
    public IPage<AdDto> selectOnshelfPage(QueryAdParam adParam);
    /*
    查看审核通过待上架广告列表
     */
    public IPage<AdDto> selectWaitOnshelfPage(QueryAdParam adParam);
}
